namespace Adge.Common
{
    using System;
    using System.Web.Caching;

    public abstract class LogVisitor
    {
        static LogVisitor()
        {
            LogVisitor.m_IsWriteCachelog = 1;
        }

        protected LogVisitor()
        {
        }

        public abstract void WriteLog(DefaultCacheStrategy dcs, string key, object val, CacheItemRemovedReason reason);

        public int IsWriteCacheLog
        {
            get
            {
                return LogVisitor.m_IsWriteCachelog;
            }
            set
            {
                LogVisitor.m_IsWriteCachelog = value;
            }
        }


        protected static int m_IsWriteCachelog;
    }
}

